package com.aw.guiguzi.bean

import com.aw.baselib.base.AwCustomResponseBean

class AppBaseRspBean : AwCustomResponseBean(){
    override fun isSuccess(): Boolean {
        return code.equals("0")
    }

    override fun isTokenError(): Boolean {
        return code.equals("401")
    }

    override fun getCode(): Any {
        return code
    }

    override fun getMessage(): String {
        TODO("Not yet implemented")
    }

}